package com.example.demo4.dao;

import com.example.demo4.entity.Student;

import java.util.List;

public interface StudentDao {
    /*
     *添加学生
     */
    boolean addStudent(Student student);
    /*
     *通过id查询学生
     */
    Student getStudentById(int id);

    List<Student> getAllStudent();
}
